package com.youlai.boot.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 商品视图对象
 *
 * @author youlaitech
 * @since 2024-10-22 16:26
 */
@Getter
@Setter
@Schema( description = "商品视图对象")
public class productVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Integer id;
    @Schema(description = "商品名称")
    private String name;
    @Schema(description = "价格")
    private Float price;
    @Schema(description = "赞")
    private Integer zan;
    @Schema(description = "销量")
    private Integer number;
    @Schema(description = "状态，1：上线，0：下线")
    private Integer status;
    @Schema(description = "商品图片url")
    private String imageurl;
    @Schema(description = "商品描述")
    private String miaoshu;
}
